package com.sskj.lib.bean;

import android.arch.persistence.room.Embedded;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.TypeConverters;

import java.io.Serializable;

import javax.annotation.Nullable;

/**
 * Created by lv on 18-5-7.
 */
@Entity(primaryKeys = {"id"})
public class UserData implements Serializable {


    @Nullable
    private Integer id;

    /**
     * mobile : 13523925725
     * account : ll002
     * realname :
     * nickname : 没我厉害就闭嘴
     * idcard :
     * grade : 经纪人
     * upic : http://47.244.174.130/Uploads/cardimg/2019-05-03/5ccb9dede48c355963.jpg
     * is_shop : 0
     * status : 1
     * auth_status : 1
     * auth_msg :
     * is_pwd : 1
     */
    private String tpwd;// 是否有资金密码
    private String uid;
    private String name;
    private String mobile;//手机号
    private String email;
    private String account;// 用户ID
    private String realname;//  实名姓名
    private String nickname;// 昵称
    private String idcard;//身份证号
    private String grade;//等级
    private String upic;//  头像
    private String is_shop;//是否是商家
    private int status;// 初级实名状态 1 未认证 2 待审核 3 已通过  4拒绝
    private int auth_status;//高级实名状态 1 未认证 2 待审核 3 已通过  4拒绝
    private String auth_msg;// 实名审核拒绝原因
    private String payment_type;// 支付方式
    private int is_jd;// 超级节点 0 关 1 开
    private int is_start_google;
    private String usdt;
    private String wallone;
    private String wallone1;
    @Embedded
    private ZcTotal zc_total;  // 交易账户统计
    @Embedded
    private LcTotal lc_total;  // 理财账户统计

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getIs_start_google() {
        return is_start_google;
    }

    public void setIs_start_google(int is_start_google) {
        this.is_start_google = is_start_google;
    }

    public String getTpwd() {
        return tpwd;
    }

    public void setTpwd(String tpwd) {
        this.tpwd = tpwd;
    }

    public ZcTotal getZc_total() {
        return zc_total;
    }

    public void setZc_total(ZcTotal zc_total) {
        this.zc_total = zc_total;
    }

    public LcTotal getLc_total() {
        return lc_total;
    }

    public void setLc_total(LcTotal lc_total) {
        this.lc_total = lc_total;
    }

    public int getIs_jd() {
        return is_jd;
    }

    public void setIs_jd(int is_jd) {
        this.is_jd = is_jd;
    }

    public String getPayment_type() {
        return payment_type;
    }

    public void setPayment_type(String payment_type) {
        this.payment_type = payment_type;
    }

    @Nullable
    public Integer getId() {
        return id;
    }

    public void setId(@Nullable Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getUpic() {
        return upic;
    }

    public void setUpic(String upic) {
        this.upic = upic;
    }

    public String getIs_shop() {
        return is_shop;
    }

    public void setIs_shop(String is_shop) {
        this.is_shop = is_shop;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getAuth_status() {
        return auth_status;
    }

    public void setAuth_status(int auth_status) {
        this.auth_status = auth_status;
    }

    public String getAuth_msg() {
        return auth_msg;
    }

    public void setAuth_msg(String auth_msg) {
        this.auth_msg = auth_msg;
    }


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsdt() {
        return usdt;
    }

    public void setUsdt(String usdt) {
        this.usdt = usdt;
    }

    public String getWallone() {
        return wallone;
    }

    public void setWallone(String wallone) {
        this.wallone = wallone;
    }

    public String getWallone1() {
        return wallone1;
    }

    public void setWallone1(String wallone1) {
        this.wallone1 = wallone1;
    }
}
